onEvent('recipes', event => {
    let color = [
        'quark:indigo_crystal',
        'quark:blue_crystal',
        'quark:green_crystal',
        'quark:yellow_crystal',
        'quark:orange_crystal',
        'quark:red_crystal',
        'quark:black_crystal',
        'quark:white_crystal',
        'quark:violet_crystal',
        'atum:palm_log'
    ];

    color.forEach((i) => {
        event.recipes.custommachinery.custom_machine("custommachinery:crystal_planter", 800)
            .produceItem(i)
            .requireStructure(
                [
                    [
                        "aba",
                        "bcb",
                        "aba",
                        " m "
                    ],
                    [
                        "ddd",
                        "ded",
                        "ddd",
                        "   "
                    ],
                    [
                        "ddd",
                        "ded",
                        "ddd",
                        "   "
                    ],
                    [
                        "ddd",
                        "ded",
                        "ddd",
                        "   "
                    ],
                    [
                        "aba",
                        "bcb",
                        "aba",
                        "   "
                    ]
                ],
                {
                    "a": 'astralsorcery:marble_chiseled',
                    "b": 'astralsorcery:marble_arch',
                    "c": 'astralsorcery:black_marble_raw',
                    "d": 'pneumaticcraft:pressure_chamber_glass',
                    "e": i
                });

    });


});

